package com.bwie.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.pojo.TbMenu;
import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.vo.PageInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 31803
* @description 针对表【tb_user(用户表)】的数据库操作Mapper
* @createDate 2025-07-18 15:06:50
* @Entity com.bwie.pojo.TbUser
*/
@Mapper
public interface TbUserMapper extends BaseMapper<TbUser> {

    List<TbMenu> selectMenuList(@Param("userId") Integer userId);

    List<String> selectRole(@Param("userId")Integer userId);

    Page<TbUser> selectShopPage(@Param("page") Page<TbUser> page,@Param("pageInfoVo") PageInfoVo pageInfoVo);
}




